import java.util.Date;

public class Commentaire{
	private static int commentaireIdk = 0;
	int user_id;
	String texte;
	int note;
	Date datecom;
	Commentaire(int user, String text, int note){
		this.user_id=user;
		this.texte=text;
		this.note=note;
		this.datecom=new Date();
		Commentaire.commentaireIdk++;
	}
	
	public String toString() {
		return "Commentaire [user_id=" + user_id + ", texte=" + texte
				+ ", note=" + note + ", datecom=" + datecom + "]";
	}
}